package com.test.demo.dao;

import com.test.demo.model.Dictionary;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * 编写者：郝嘉
 * 编写时间：2019-05-24
 * 模块功能描述：数据表的mapper接口
 */
@Mapper
public interface DictionaryMapper {
    Dictionary selectbyPrimaryKey(Integer did);
    List<Dictionary> getDname();

    List<Dictionary> getDis();

    int delDictionary(Integer did);

    int insertDictionary(Dictionary dictionarymodel);

    int updateDictionary(Dictionary dictionarymodel);

    //根据主键查找信息
    Dictionary selectByPrimaryKey2(Integer did);

}
